home *** CD-ROM | disk | FTP | other *** search
- /*
- VideoToolbox.c
-
- You should ask THINK C to precompile this file in order to precompile the VideoToolbox.h header.
-
- (If your aim is to produce an external code resource for MATLAB then use VideoToolboxMATLAB.c
- instead of this file.)
-
- (If you're using Metrowerks CodeWarrior, then use the VideoToolbox.pch instead of this file.
- It will automatically generate the correct file name for the precompiled header and store
- it in the right place.)
-
- All the pre-compiled headers should be stored in
- "VideoToolbox:VideoToolboxSources:Precompiled headers". Here's my naming
- convention for pre-compiled headers:
- "VideoToolbox.pre" = THINK C, 68k, 2-byte int, "universal" floating format, w/o 8881 fpu.
- "VideoToolbox.f.pre" = THINK C, 68k, 2-byte int, "universal" floating format, w 8881 fpu.
- "VideoToolbox.68k...." = CodeWarrior, 68k,...
- "VideoToolbox.ppc...." = CodeWarrior, PowerPC, ...
-
- INSTRUCTIONS:
- While you have this file open in THINK C, select Precompile from the Source menu.
- Save the result as either "VideoToolbox.f.pre" (if 8881 code is enabled) or "VideoToolbox.pre"
- (if 8881 code is disabled) in the "VideoToolbox:VideoToolboxSources:Precompiled headers" folder.
- You can then speed up the compilation of any project roughly tenfold by typing the line
- #include "VideoToolbox.f.pre"
- (or whichever prefix file is appropriate) into the Edit:Options:THINK C:Prefix window.
-
- Note that Precompilation ignores the project prefix.
-
- Unfortunately THINK C never checks whether a precompiled header is out of
- date. If you update any of the Apple, Standard C, or VideoToolbox.h headers,
- then you should recreate the precompiled header. Also, the precompiled header
- will reflect the compiler and language settings in effect at the time of
- precompilation (e.g. size of int and double), so if you have different projects
- with different settings then you may need various versions of the precompiled
- header.
-
- You can add this file to your project. It won't generate any code or affect your
- project in any way. It merely keeps this file handy.
-
- HISTORY:
- 2/27/93 dgp Wrote it.
- 4/22/93 dgp Updated comments.
- 9/8/93 dgp Updated comments.
- 9/12/93 dgp Updated comments.
- 9/15/93 dgp Updated comments.
- 10/20/94 dgp Update comments.
- 6/1/95 dgp updated comments, referred Metrowerks CodeWarrior users to VideoToolbox.pch file.
- */
-
- #include "VideoToolbox.h"
-